package com.m7.imkfsdk;

/**
 * Created by admin on 2018/8/16.
 */
public class RefreshtokenEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"expired":31449600,"member":{"level":"VIP_0","nickName":"深巷","type":"normal"},"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJhdWQiOiJGRktEVTE3NzI3MDAzOTA3Iiwic3ViIjoidmo2b3lsNTZ4ZyIsIm10IjowLCJhcHBJZCI6Ink2aTNmTFNESHJ6OEFoSmEiLCJleHAiOjE1NjU5MzYzMDcsImlhdCI6MTUzNDQwMDAwNywidmVyc2lvbiI6MTAwMDAyfQ.sP3Gfv2SARRrRSu7hQDhsGQAgRbZ_n369u2utcUN2sFCvG5bBbeijNOsKpe9SsnSwLyqF657wOc7guu80hM_Zw"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * expired : 31449600
         * member : {"level":"VIP_0","nickName":"深巷","type":"normal"}
         * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJhdWQiOiJGRktEVTE3NzI3MDAzOTA3Iiwic3ViIjoidmo2b3lsNTZ4ZyIsIm10IjowLCJhcHBJZCI6Ink2aTNmTFNESHJ6OEFoSmEiLCJleHAiOjE1NjU5MzYzMDcsImlhdCI6MTUzNDQwMDAwNywidmVyc2lvbiI6MTAwMDAyfQ.sP3Gfv2SARRrRSu7hQDhsGQAgRbZ_n369u2utcUN2sFCvG5bBbeijNOsKpe9SsnSwLyqF657wOc7guu80hM_Zw
         */

        private String expired;
        private MemberBean member;
        private String token;

        public String getExpired() {
            return expired;
        }

        public void setExpired(String expired) {
            this.expired = expired;
        }

        public MemberBean getMember() {
            return member;
        }

        public void setMember(MemberBean member) {
            this.member = member;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class MemberBean {
            /**
             * level : VIP_0
             * nickName : 深巷
             * type : normal
             */
            private String expireTime;
            private String level;
            private String nickName;
            private String type;
            private String headerUrl; //头像字段
            private String gender;//性别字段
            private String mobile;//手机码
            private String number;//会员码
            private String name;//真实姓名
            private String zfb;//支付宝
            private String defaultBrokenPercent;
            private String inviteCode;//邀请码
            private String id;

            private ParentBean parent;

            private InviteShareBean inviteShare;

            public ParentBean getParent() {
                return parent;
            }

            public void setParent(ParentBean parent) {
                this.parent = parent;
            }

            public InviteShareBean getInviteShare() {
                return inviteShare;
            }

            public void setInviteShare(InviteShareBean inviteShare) {
                this.inviteShare = inviteShare;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getDefaultBrokenPercent() {
                return defaultBrokenPercent;
            }

            public void setDefaultBrokenPercent(String defaultBrokenPercent) {
                this.defaultBrokenPercent = defaultBrokenPercent;
            }

            public String getInviteCode() {
                return inviteCode;
            }

            public void setInviteCode(String inviteCode) {
                this.inviteCode = inviteCode;
            }

            public String getExpireTime() {
                return expireTime;
            }

            public void setExpireTime(String expireTime) {
                this.expireTime = expireTime;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }


            public String getHeaderUrl() {
                return headerUrl;
            }

            public void setHeaderUrl(String headerUrl) {
                this.headerUrl = headerUrl;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getZfb() {
                return zfb;
            }

            public void setZfb(String zfb) {
                this.zfb = zfb;
            }


            public static class ParentBean {

                private String headerUrl;
                private String id;
                private String nickName;


                public String getHeaderUrl() {
                    return headerUrl;
                }

                public void setHeaderUrl(String headerUrl) {
                    this.headerUrl = headerUrl;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }
            }

            public static class InviteShareBean {
                private String desc;
                private String imageURL;
                private String linkURL;
                private String title;

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getImageURL() {
                    return imageURL;
                }

                public void setImageURL(String imageURL) {
                    this.imageURL = imageURL;
                }

                public String getLinkURL() {
                    return linkURL;
                }

                public void setLinkURL(String linkURL) {
                    this.linkURL = linkURL;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
